$(function(){
	var timers = [];
	show("title1","strip1");
	show("title2","strip2");
	show("title3","strip3");
	show("title4","strip4");
	show("title5","strip5");
	show("title6","strip6");
	show("title7","strip7");
	show("title8","strip8");
	function clearTimers(){
		for(var i = 0 ;i < timers.length; ++i){
			clearTimeout(timers[i]);
		}
		timers=[];
	}
	function show(title,strip){
		$("#"+title).mouseover(function(){
			clearTimers();
			$('.menu').hide();
			$(this).addClass("current_on");
			$("#"+strip).show();
			 
		})
		$("#"+title).mouseout(function(){
			timers.push(setTimeout(function(){
				$(this).removeClass("current_on");
				$("#"+strip).hide();
			},100));
		})
		$("#"+strip).mouseover(function(){
			clearTimers();
			$('.menu').hide();
			$("#"+title).addClass("current_on");
			 $("#"+strip).show();
		})
		$("#"+strip).mouseout(function(){
			timers.push(setTimeout(function(){
				$("#"+title).removeClass("current_on");
				$("#"+strip).hide();
			},100));
		})
	}
})

  $('.nav .strip li').hover(function(e){
       	alert(111);
       
       });